package net.supcmdr.dnd5e.ui.subpanels.character;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.JCheckBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.border.LineBorder;

@SuppressWarnings("serial")
public class SavingThrowsPanel extends JPanel {
	
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	
	public SavingThrowsPanel() {
		
		System.out.println("    -Creating SavingThrowsPanel");
		
		setMinimumSize(new Dimension(175,200));
		setPreferredSize(new Dimension(175, 200));
		setBorder(new LineBorder(new Color(0, 0, 0), 1, true));
		setLayout(null);
		
		JLabel lblSavingThrows = new JLabel("Saving Throws");
		lblSavingThrows.setFont(new Font("Tahoma", Font.BOLD, 18));
		lblSavingThrows.setHorizontalAlignment(SwingConstants.CENTER);
		lblSavingThrows.setBounds(10, 11, 155, 22);
		add(lblSavingThrows);
		
		JCheckBox chckbxStrength = new JCheckBox("Strength");
		chckbxStrength.setBounds(10, 40, 97, 23);
		add(chckbxStrength);
		
		JCheckBox chckbxDexterity = new JCheckBox("Dexterity");
		chckbxDexterity.setBounds(10, 66, 97, 23);
		add(chckbxDexterity);
		
		JCheckBox chckbxIntelligence = new JCheckBox("Intelligence");
		chckbxIntelligence.setBounds(10, 92, 97, 23);
		add(chckbxIntelligence);
		
		JCheckBox chckbxWisdom = new JCheckBox("Wisdom");
		chckbxWisdom.setBounds(10, 118, 97, 23);
		add(chckbxWisdom);
		
		JCheckBox chckbxConstitution = new JCheckBox("Constitution");
		chckbxConstitution.setBounds(10, 144, 97, 23);
		add(chckbxConstitution);
		
		JCheckBox chckbxCharisma = new JCheckBox("Charisma");
		chckbxCharisma.setBounds(10, 170, 97, 23);
		add(chckbxCharisma);
		
		textField = new JTextField();
		textField.setBounds(113, 41, 45, 20);
		add(textField);
		textField.setColumns(10);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(113, 67, 45, 20);
		add(textField_1);
		
		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(113, 93, 45, 20);
		add(textField_2);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(113, 119, 45, 20);
		add(textField_3);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(113, 145, 45, 20);
		add(textField_4);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(113, 171, 45, 20);
		add(textField_5);
	}

}
